﻿$(document).ready(function () {
    $("#btn").click(function () {
        if (confirm("此操作风险很大，请务必确认操作。")) {

            var _vals = "";
            $("input[name=Modules]:not(:checked)").each(function () {
                if (_vals) _vals += ",";
                _vals += $(this).val();
            });
            console.log(_vals);
            $.post("Services/SystemSetup.asmx/Install?Modules=" + _vals, function () {

            });
        }
    });
});